/*
 *
 * 名称：八门
 * 功能：奇门遁甲八门属性配置
 * 作者：清河张
 * 时间：2025.05.11
 *
 */

#include "men8.h"

using namespace QMDJ;

template<> MEN_T MEN8::_objs[8] =
{
    {MEN_T::XIUUU, WUXING_T::SHUI, "休",},
    {MEN_T::SHENG, WUXING_T::TUUU, "生",},
    {MEN_T::SHANG, WUXING_T::MUUU, "伤",},
    {MEN_T::DUUUU, WUXING_T::MUUU, "杜",},
    {MEN_T::JING3, WUXING_T::HUOO, "景",},
    {MEN_T::SIIII, WUXING_T::TUUU, "死",},
    {MEN_T::JING1, WUXING_T::JINN, "惊",},
    {MEN_T::KAIII, WUXING_T::JINN, "开",},
};


MEN_T::MEN_T():
    CT(MEN_T::M____, " "), _wx(WUXING_T::WX__)
{

}


MEN_T::MEN_T(int id, int wx, const char *name):
    CT(id, name), _wx(wx)
{

}

WUXING5 MEN_T::wx5() const
{
    return _wx;
}

void MEN_T::yu(WUXING5 wx)
{
    _wxxqs = wx - wx5();
}

WUXING5::WXXQS MEN_T::wxxqs() const
{
    return _wxxqs;
}
